package com.thz.houserental.infrastructure.web.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CurrentUser {
    @Schema(description = "别名")
    private String nickName;
    
    @Schema(description = "邮箱")
    private String email;
    
    @Schema(description = "用户id")
    private String userId;
    
    @Schema(description = "头像下载地址")
    private String avatarUrl;
    
    private String wechatId;
    
    private String phone;

    @Schema(description = "用户角色")
    private List<String> roles;
}
